<%--
  Created by IntelliJ IDEA.
  User: xjm123
  Date: 2022/4/18
  Time: 10:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>文件下载</title>
    <link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css">
    <link rel="stylesheet" type="text/css" href="easyui/css/default.css" />
    <link rel="stylesheet" type="text/css" href="easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="easyui/css/demo.css">
    <script type="text/javascript" src='easyui/js/outlook2.js'> </script>
    <script type="text/javascript" src="easyui/jquery.min.js"></script>
    <script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="easyui/themes/locale/easyui-lang-zh_CN.js"></script>

</head>
<body>
<table class="easyui-datagrid" title="采购清单" style="width: 100%; height: 100%">
    <thead data-options="frozen:true">
    <tr>
        <th data-options="field:'fileName',width:350" align="center">采购清单</th>
        <th data-options="field:'Filedownload',width:350" align="center">采购清单下载</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${requestScope.map}" var="i">
        <tr>
            <c:url var="url" value="/Filedownload">
                <c:param name="fileName" value="${i.key}"></c:param>
            </c:url>
            <td>${i.value}</td>
            <td><a href="${url}" class="easyui-linkbutton" data-options="iconCls:'icon-folder-up'">下载</a><br></td>
        </tr>
    </c:forEach>
    </tbody>
</table>

</body>
</html>
